﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Speech;
using System.Speech.Synthesis;

namespace 文字转语音
{
    /// <summary>
    /// 莫得感情得语音合成器
    /// </summary>
    class Program
    {

        public static SpeechSynthesizer speech= new SpeechSynthesizer();


        static void Main(string[] args)
        {
            speech.Rate = -10;
            speech.Volume = 100;
            speech.SpeakAsync("你好，我是冰凌");

            Console.ReadKey();
        }
    }
}
